<?php
$reminder_model = $this->reminderalldata;
?>
<div id="pad-wrapper">
    <div class="row pagelist-header">
        <h3>Reminder Detail</h3>
    </div>
    <div class="table-products">
       
        <div class="row-fluid ">
            <div class="pull-right">
                <a class="btn-flat new-product" href="<?php echo $this->url(array('module' => 'default', 'controller' => 'reminder', 'action' => 'list'), null, TRUE); ?>"> Back</a>
            </div>              
        </div>

        <div class="main_detail">
           
             <div class="sub_main">
                <div class="detail_label">Title: </div>
                <div class="detail_data"><?php echo ucfirst($reminder_model['rm_title']); ?></div>
             </div>
            
            
            <div class="sub_main">
                <div class="detail_label">Date: </div>
                <div class="detail_data"><?php echo ucfirst($reminder_model['rm_date']); ?></div>
            </div>


            
            <div class="sub_main">
                <div class="detail_label">Note: </div>
                <div class="detail_data"><?php echo $reminder_model['rm_note']; ?></div>
            </div>


            

            <div class="sub_main">
                <div class="detail_label">Created Date: </div>
                <div class="detail_data"><?php echo date('Y-m-d', strtotime($reminder_model['rm_createddate'])); ?></div>
            </div>

            <div class="sub_main">
                <div class="detail_label">Updated Date: </div>
                <div class="detail_data"><?php echo date('Y-m-d', strtotime($reminder_model['rm_updateddate'])); ?></div>
            </div>

            
            
            <div class="sub_main">
                <div class="detail_label">Status: </div>
                <div class="detail_data">
                    <?php echo ( $reminder_model['rm_status'] == 1 ) ? 'Read' : 'Unread'; ?>
                </div>
            </div>

        </div>

    </div>
</div>
